package org.eleorc.ioc.container.extension.factorybean;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Demo {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("beans-factorybean.xml");
        Object bean = context.getBean("dateTimeFormatter");
        System.out.println(bean.getClass());
    }
}
